package com.zretc.activity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zretc.api.pojo.activityModule.dtos.ActivityDto;
import com.zretc.api.pojo.activityModule.pojos.Activity;
import com.zretc.common.entity.RespResult;
import org.springframework.stereotype.Service;

@Service
public interface ActivityService extends IService<Activity> {
    RespResult submit(ActivityDto activityDto);

    RespResult getByType(String type);

    RespResult getActivityDetails(ActivityDto activityDto);

    RespResult participate(ActivityDto activityDto);

    RespResult cancel(ActivityDto activityDto);

    RespResult delete(ActivityDto activityDto);
}
